import {asMap, observable} from "mobx";


/**报表通用**/
export class ReportStore{
    @observable loading  = false;
    @observable dialogVisible = observable.map ? observable.map({}) : asMap({});    //弹窗显示属性
    @observable variableMap = observable.map ? observable.map({}) : asMap({});    //变量属性
    @observable analyseData = {}; //echart 数据
    @observable advanceSearchData = {}; //高级搜索


    constructor(){
        this.closeModal = this.closeModal.bind(this);
    }

    closeModal(){
        this.modalPara = {
            modalVisible:false,
            modalKey:'',
            modaltitle:'',
            dataParams:{},
            tabDatas:[]
        }
    }
}